package com.common.auth.enums;

import com.common.api.iface.CodeNameEnumFace;

import lombok.AllArgsConstructor;

/**
 * @author ficus
 * 资源类型
 */
@AllArgsConstructor
public enum ResourceTypeEnum implements CodeNameEnumFace {
	catalog("catalog","目录"),
	menu("menu","菜单"),
	link("link","链接"),
	button("button","按钮"), //或者element
	;
	private String code;
	
	private String name;
	
	@Override
	public String getEunmCode() {
		return code;
	}

	@Override
	public String getEnumName() {
		return name;
	}

}
